import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'

import graphModule from './modules/graphModule.js'
import nodeModule from './modules/nodeModule.js'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    graphModule,
    nodeModule
  },
  getters
})

export default store
